package com.example.sp1.bbb;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.Configuration;

//@Configuration(proxyBeanMethods = false)

@ConfigurationProperties(prefix = "app")
public class b {
    private String name;
    private String owner;
    private Integer port;
    private  a aa;


    public b() {
    }

    public b(String name, String owner, Integer port, a aa) {
        this.name = name;
        this.owner = owner;
        this.port = port;
        this.aa = aa;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return owner
     */
    public String getOwner() {
        return owner;
    }

    /**
     * 设置
     * @param owner
     */
    public void setOwner(String owner) {
        this.owner = owner;
    }

    /**
     * 获取
     * @return port
     */
    public Integer getPort() {
        return port;
    }

    /**
     * 设置
     * @param port
     */
    public void setPort(Integer port) {
        this.port = port;
    }

    /**
     * 获取
     * @return aa
     */
    public a getAa() {
        return aa;
    }

    /**
     * 设置
     * @param aa
     */
    public void setAa(a aa) {
        this.aa = aa;
    }

    public String toString() {
        return "b{name = " + name + ", owner = " + owner + ", port = " + port + ", aa = " + aa + "}";
    }
}
